package com.wuliu.system.service;

import java.util.List;

import com.wuliu.system.domain.BasEmployee;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 员工资料Service接口
 *
 * @author realue
 * @date 2023-10-24
 */
public interface IBasEmployeeService extends IService<BasEmployee> {
    /**
     * 查询员工资料
     *
     * @param id 员工资料主键
     * @return 员工资料
     */
    public BasEmployee selectBasEmployeeById(Long id);

    /**
     * 查询员工资料列表
     *
     * @param basEmployee 员工资料
     * @return 员工资料集合
     */
    public List<BasEmployee> selectBasEmployeeList(BasEmployee basEmployee);

    /**
     * 新增员工资料
     *
     * @param basEmployee 员工资料
     * @return 结果
     */
    public int insertBasEmployee(BasEmployee basEmployee);

    /**
     * 修改员工资料
     *
     * @param basEmployee 员工资料
     * @return 结果
     */
    public int updateBasEmployee(BasEmployee basEmployee);

    /**
     * 批量删除员工资料
     *
     * @param ids 需要删除的员工资料主键集合
     * @return 结果
     */
    public int deleteBasEmployeeByIds(Long[] ids);

    /**
     * 删除员工资料信息
     *
     * @param id 员工资料主键
     * @return 结果
     */
    public int deleteBasEmployeeById(Long id);

    /**
     * 查询司机列表
     * @return
     */
    List<BasEmployee> getDrivers();
}
